home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-01-19 | 1.5 KB | 48 lines | [TEXT/MPS ] |
- #Make file to make either pascal, modula, or c versions of the Driver
- #program call the pascal unit 'Test.p'
- #Make target 'pTest' for the pascal version, 'mTest' for modula, and
- #'cTest' for c
-
- # Everybody uses the actual pascal unit
- test.p.o ƒ test.p
- pascal test.p
-
- # This is the pascal version of the driver
- driver.p.o ƒ driver.p test.p
- pascal Driver.p
- pTest ƒ test.p.o driver.p.o
- link -t "MPST" -c "MPS " ∂
- driver.p.o test.p.o ∂
- "{Libraries}"Runtime.o ∂
- "{PLibraries}"Paslib.o ∂
- -o pTest
-
- # This is the C version
- driver.c.o ƒ driver.c
- c driver.c
- # Note that I have turned off warnings
- cTest ƒ driver.c.o test.p.o
- Link -w driver.c.o test.p.o ∂
- -t "MPST" -c "MPS " ∂
- "{CLibraries}"CRuntime.o ∂
- "{CLibraries}"CInterface.o ∂
- "{CLibraries}"StdCLib.o ∂
- "{CLibraries}"CSANELib.o ∂
- "{PLibraries}"PasLib.o ∂
- -o cTest
-
- # This is the Modula version
- test.SBM ƒ test.def
- modula test.def
- test.a.o ƒ test.a
- asm test.a
- driver.mod.o ƒ driver.mod test.SBM
- modula driver.mod
- mTest ƒ driver.mod.o test.p.o test.a.o
- Link -ma "TEST"="Test__Globals" ∂
- -t "MPST" -c "MPS " ∂
- driver.mod.o test.p.o test.a.o ∂
- "{MLibraries}"MRuntime.o ∂
- "{Libraries}"Runtime.o ∂
- -o mTestiled and linked version of FixPObj